package com.yun.blog.config.oauth;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author : simple
 * @title : GiteeProperties
 * @projectName : dantouBlog-back
 * @description : gitee 配置
 * @email : yun_simple@163.com
 * @date : 2023/5/21下午11:07
 */

@Data
@Configuration
@ConfigurationProperties(prefix = "gitee")
public class GiteeProperties {

    /**
     * appId
     */
    private String  clientId;

    /**
     * appSecret
     */
    private String clientSecret;

    /**
     * 回调地址
     */
    private String redirectUri;

    /**
     * 访问令牌地址
     */
    private String accessTokenUrl;

    /**
     * 获取用户信息地址
     */
    private String userInfoUrl;

}
